package com.tedu.ivos.application.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Application {
    @ApiModelProperty(value = "用车申请表id")
    private Long id;
    @ApiModelProperty(value = "申请人id")
    private Long userId;
    @ApiModelProperty(value = "申请人姓名")
    private String username;
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    @ApiModelProperty(value = "驾照图片")
    private String imgUrl;
    @ApiModelProperty(value = "出发地")
    private String departureAddr;
    @ApiModelProperty(value = "目的地")
    private String destinationAddr;
    @ApiModelProperty(value = "用车原因")
    private String reason;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "审核状态")
    private String status; // 申请表状态 已发起10 撤销20 审核中30 驳回40 已通过50 分配用车60 工单结束70
    @ApiModelProperty(value = "分配车辆id")
    private Long vehicleId;
    @ApiModelProperty(value = "驳回原因")
    private String rejectReason;
    @ApiModelProperty(value = "申请创建时间")
    private Date createTime;
    @ApiModelProperty(value = "申请结束时间")
    private Date updateTime;

    /** 瞬态属性 */
    @ApiModelProperty(value = "审核人id集合")
    private List<Long> auditUserIdList;
    @ApiModelProperty(value = "审核人姓名字符串")
    private String auditUsernameList;
}
